﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Platform
{
    public class EventModelPropertyDict : Entity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid EventModelDictId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public EventModelDict EventModelDict { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid StdPhrDictID { get; set; }

        /// <summary>
        /// 标准用语
        /// </summary>
        public StdPhrDict StdPhrDict { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Srtno { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool PkFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool NullableFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        public EventModelPropertyDict()
        {

        }

        public EventModelPropertyDict(Guid eventModelDictId, Guid stdPhrDictID, bool pkFlag
            , bool nullableFlag, int srtno)
        {
            EventModelDictId = eventModelDictId;
            PkFlag = pkFlag;
            StdPhrDictID = stdPhrDictID;
            NullableFlag = nullableFlag;
            Srtno = srtno;
        }

    }
}
